package com.example.lotterysystem.service;

import org.springframework.stereotype.Service;

@Service
public interface VerificationCodeService {

    /**
     * 发送验证码
     * @param phoneNumber
     */
    void sendVerificationCode(String phoneNumber);


    /**
     * 从缓存中获取验证码
     * @return
     */
    String getVerificationCode(String phoneNumber);
}
